$def with(path, fname)

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">

<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>upload</title>
	<meta name="generator" content="Studio 3 http://aptana.com/">
	<meta name="author" content="zc">
	<!-- Date: 2011-08-12 -->
</head>
<body>
	<form method="POST" enctype="multipart/form-data" action="">
            <input type="file" name="myfile" />
            <br/>
            <input type="submit" />
    </form>
    
    <div>
    	$if fname:
    		<p>$fname</p>
    		<img src="$path$fname" />  
    </div>
    
    
</body>
</html>
